using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.Runtime.Remoting.Activation;
using System.ComponentModel;

using System.CodeDom;
using NBusiness.CodeDom;
using NBusiness.CodeDom.Compiler;
using NBusiness.ESharp.Compiler;

namespace NBusiness.Templates
{
	public interface ITemplate
	{
        EntityResourceFile[] Generate(PartialLanguage partialLanguage, params Entity[] entities);

        event EventHandler<EntityBuildErrorEventArgs> Warning;
    }
}
